package com.crm.exception;


import lombok.Data;

/**
 * 此异常类型用来向前台返回页面
 *
 * @author lucky
 */

@Data
public class ReturnViewException extends RuntimeException {
    private String viewName;


    public ReturnViewException(String viewName){
        this.viewName = viewName;
    }

    public ReturnViewException(String viewName, String message) {
        super(message);
        this.viewName = viewName;
    }
}
